package com.zhiliao.interpreter.demo1;

import java.util.Stack;

/**
 * 作者： zhi-liao
 * 类的作用:
 * 类的创建时间： 2021/5/23 16:57
 */
public class Client {
    public static void main(String[] args) {
        String expression = "";
        char[] chars = expression.toCharArray();
        Context context = new Context();
        Stack<Expression> stack = new Stack<Expression>();

        for (int i = 0; i < chars.length; i++) {
            // 进行语法判断递归调用
        }
        Expression exp = stack.pop();
        exp.interpreter(context);
    }
}
